package com.example.demo.exception;

import com.example.demo.core.ResultStatus;
import com.example.demo.core.SystemCode;

/**
 * @author 叮当猫的百宝箱
 * @since 1.0
 */
public class NotFoundException extends ServiceException {
    public NotFoundException(String message) {
        super(SystemCode.ERROR_NOT_FOUND, message);
    }

    public NotFoundException(String message, Throwable throwable) {
        super(message, throwable);
    }

    public NotFoundException(ResultStatus resultStatus, String message) {
        super(resultStatus, message);
    }
}
